package LEKIEUANH.OOP.LEVEL2.ex01;

public class SquareEntity {
private double side;
public SquareEntity(){
	side = 1.0;
}
public SquareEntity(double side){
	this.side = side;
}
public double getSide() {
	return side;
}
public void setSide(double side) {
	this.side = side;
}
public double Area(SquareEntity objSquare){
	return objSquare.getSide()* objSquare.getSide();
}
public double Peri(SquareEntity objSquare){
	return objSquare.getSide()*4;
}
}
